package com.j3a.journal.beanservice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.j3a.journal.beandao.ISujetDao;
import com.j3a.journal.generic.IDaoGeneric;
import com.j3a.journal.generic.ServiceGeneric;
import com.j3a.journal.model.Sujet;

@Service( "sujetService" )
public class SujetService extends ServiceGeneric<Sujet, Integer> implements ISujetService {

    @Autowired
    private transient ISujetDao sujetDao;

    public SujetService() {
    }

    @Override
    public IDaoGeneric<Sujet, Integer> getDAO() {
        return this.sujetDao;
    }

}
